package com.stellar.circle.convert;

import com.stellar.circle.basic.entity.SIdle;
import com.stellar.circle.controller.admin.sIdle.vo.SIdleRequestPageVO;
import com.stellar.circle.controller.admin.sIdle.vo.SIdleRequestVO;
import com.stellar.circle.controller.admin.sIdle.vo.SIdleResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 闲置物品交易表转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-06-07 20:13:40
 */
@Mapper
public interface SIdleConvert {

    SIdleConvert INSTANCE = Mappers.getMapper(SIdleConvert.class);

    SIdle convert(SIdleResponseVO responseVO);

    SIdle convert(SIdleRequestVO requestVO);

    SIdle convert(SIdleRequestPageVO requestPageVO);

    SIdleResponseVO convert(SIdle entity);

    List<SIdleResponseVO> convertEntityToRespList(List<SIdle> entities);
}
